package com.sunchangpeng.jwtsample;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;
import org.springframework.security.jwt.crypto.sign.MacSigner;

@SpringBootApplication
public class JwtSampleApplication {

    @Bean
    public MacSigner macSigner() {
        return new MacSigner("sunchp");
    }

    public static void main(String[] args) {
        SpringApplication.run(JwtSampleApplication.class, args);
    }
}
